﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CQIE.TES.IDAL;
using CQIE.TES.IService;
using CQIE.TES.Model;
using CQIE.TES.WEB.USER.Models;

namespace CQIE.TES.Service
{
    public class QuestionService: IQuestionService
    {
        private readonly IQuestionDAL _dal;
        public QuestionService(IQuestionDAL dal)
        {
            this._dal = dal;
        }


        public Question GetqQuestion(ENUM_EVA_TYPE type)
        {
            return _dal.GetQuestion(type);
        }

        public bool ChangeHeight(int mode, List<int> questionList, List<int> heightList)
        {
            return _dal.ChangeHeight(mode, questionList, heightList);
        }
    }
}
